<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>密码修改</title>
		<%@include file="/WEB-INF/views/modules/cms/front/include/head.jsp"%>
		<meta name="decorator" content="cms_default_${site.theme}"/>
		<meta name="description" content="ccjzxyxt ${site.description}" />
		<meta name="keywords" content="ccjzxyxt ${site.keywords}" />
		<script src="${ctxStatic}/front/js/jquery_modifyPwd.js" type="text/javascript"></script>
	</head>
	<body style="background: #f8f8f8;">
        <!--content-->
        <div class="wrap">
        	<div class="perleft">
				<ul>
					<c:if test="${user.userType eq '1'}">
						<li><a href="${ctxAdmin}/sys/user/info?origin=front">个人信息</a></li>
						<li class="on"><a href="${ctxAdmin}/sys/user/modifyPwd?origin=front">修改密码</a></li>
					</c:if>
					<c:if test="${user.userType ne '1'}">
						<c:forEach items="${fns:getNavMenuList()}" var="menu">
							<li class="${requestScope.menu.id eq menu.id ? 'on' : ''}"><a href="${ctxAdmin}${menu.href}?origin=front" target=""><span>${menu.name}</span></a></li>
						</c:forEach>
					</c:if>
				</ul>
        	</div>
        	<div class="perright">        		
        		<div class="modify_pwd apply">
        			<h2>修改密码</h2>
        			<div class="inputgroup">
	    				<label>原密码:</label>
	    				<input type="text" id="oldPassword" name="oldPassword" class="text" onblur="ValidateUtil.checkInputNull('oldPassword','原密码')"/>
						<div class="clear"></div>
						<span id="oldPasswordError" class="errorts"> </span>
	    			</div>
	    			<div class="inputgroup">
	    				<label>新密码:</label>
	    				<input type="password" id="newPassword" name="newPassword" class="text" onblur="ValidateUtil.checkUpdatePwd('newPassword','oldPassword')"/>
						<div class="clear"></div>
						<span id="newPasswordError" class="errorts"> </span>
	    			</div>
	    			<div class="inputgroup">
	    				<label>确认密码:</label>
	    				<input type="password" id="againPassword" name="againPassword" class="text" onblur="ValidateUtil.checkAgainPwd('newPassword','againPassword')"/>
						<div class="clear"></div>
						<span id="againPasswordError" class="errorts"> </span>
	    			</div>
	    			<a href="#" class="btn" onclick="updatePWD('${ctxAdmin}/sys/user/modifyPwd/json','')">修改</a>
        		</div>
        	</div>
        </div>
	</body>
</html>
